<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			#a{
				width: 200px;
				height: 200px;
				background-color: palevioletred;
			}
			#b{
				width: 100px;
				height: 100px;
				background-color: lightgreen;
				padding: 10px;
			}
			#c{
				width: 50px;
				height: 50px;
				background-color: turquoise;
				padding: 10px;
			}
		</style>
	</head>
	<body>
		<div id="a">
			<div id="b">
				<div id="c">
					
				</div>
				
			</div>
			
		</div>
		<script type="text/javascript">
			a.onclick=function(){console.log("a")}
			b.onclick=function(){console.log("b")}
			c.onclick=function(){console.log("c")
								event.stopPropagation()}
			
			
		</script>
	</body>
</html>
